package com.sc.service.impl;

import com.sc.entity.Summary;
import com.sc.mapper.SummaryMapper;
import com.sc.service.SummaryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 许一
 * @since 2023-12-08 11:41:22
 */
@Service
public class SummaryServiceImpl extends ServiceImpl<SummaryMapper, Summary> implements SummaryService {

    @Resource
    private SummaryMapper summaryMapper;
    @Override
    public Long getSum1(Long id) {
        return summaryMapper.getSum1(id);
    }

    @Override
    public Long getSum2(Long id) {
        return summaryMapper.getSum2(id);
    }

    @Override
    public Long getSum3(Long id) {
        return summaryMapper.getSum3(id);
    }

    @Override
    public Long getSum4(Long id) {
        return summaryMapper.getSum4(id);
    }

    @Override
    public Long getSum5(Long id) {
        return summaryMapper.getSum5(id);
    }
}
